package com.xyht.sca_s.student_manage_system.modules.asset.entity.resp.fixedInStorageApply;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.xyht.sca_s.student_manage_system.modules.user.entity.resp.SmsSearchUserResp;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * <p>
 * 固定资产入库申请
 * </p>
 *
 * @author XYHT
 * @since 2023-05-16
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("sms_asset_fixed_in_storage_apply")
@ApiModel(value="SmsAssetFixedInStorageApply对象", description="固定资产入库申请")
public class SmsAssetFixedInStorageApplyResp implements Serializable {

    private static final long serialVersionUID = 1L;

    private String applyId;

    @ApiModelProperty(value = "申请人id")
    private String applyUserId;

    private SmsSearchUserResp applyUserInfo;

    @ApiModelProperty(value = "审批人id")
    private String allowUserId;

    private SmsSearchUserResp allowUserInfo;

    @ApiModelProperty(value = "申请单据标题")
    private String applyName;

    @ApiModelProperty(value = "申请备注")
    private String applyRemark;

    @ApiModelProperty(value = "维保时长  单位 月")
    private Integer applyMaintenance;

    @ApiModelProperty(value = "入库申请当天申请批次")
    private Integer applySort;

    @ApiModelProperty(value = "审批状态：0：审批中  1：通过   2：驳回   3：撤回  ")
    private Integer allowStatus;

    @ApiModelProperty(value = "申请结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date endTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;

    @ApiModelProperty(value = "流程节点id")
    private String detailId;

    @ApiModelProperty(value = "审批状态：0：审批中  1：通过   2：驳回   3：撤回结束  4：驳回结束")
    private Integer processDetailStatus;

    @ApiModelProperty(value = "审批备注")
    private String processDetailRemark;

    private List<SmsAssetFixedInStorageApplyGoodsResp> goodsList;

    private List<SmsAssetFixedInStorageApplyProcessDetailResp> processList;

}
